#include "stm32f10x.h"                  // Device header
#include "Delay.h"
#include "Buzzer.h"
#include "Light.h"

int main(void)
{
	Buzzer_Init();
	Light_Init();

	while(1){
		if(Light_Get()==1){
			Buzzer_ON();
		}else{
			Buzzer_OFF();
		}
	}
	
}
